package com.ym.medical.domain.entity;

import com.ym.common.constant.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;

/**
 * 医生好友对象 doctor_friend
 *
 * @author ym
 * @date 2020-08-24
 */
@ApiModel("医生好友-实体")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "doctor_friend")
public class DoctorFriendEntity extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 医生主键
	 */
	@ApiModelProperty("医生主键")
	private Long doctId;

	/**
	 * 好友id(医生表)
	 */
	@ApiModelProperty("好友id(医生表)")
	private Long dfFriendid;

}
